<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/14
 * Time: 16:40
 * 添加节点用户关联
 */
$oesum_oesid   = $route->bodyParams['oesum_oesid'];      //节点ID
$oesum_uid     = $route->bodyParams['oesum_uid'];        //用户ID





//写入数组
$insertArr = [
    'oesum_oesid'   => $oesum_oesid,
    'oesum_uid'     => $oesum_uid,
];
//执行写入语句
$rsData = $db->mysqlDB->insert("oa_enterprise_structure_user_middle",$insertArr);

//返回成功结果
$response->responseData( true, $rsData );